import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/api/basicData/${url}`, ...arg)
/**
 * 站内信
 *
 * @author mh
 * @date 2022-09-22 22:33:20
 */
export default {
    // 获取分页
    linePage(data) {
        return request('pageLine', data, 'get')
    },
    //绑定产线下拉框
    lineSelect(data) {
        return request('bindLineSelect', data, 'get')
    },
    // 删除
    lineDelete(data) {
        return request('deleteLine', data)
    },
    // 提交表单
    lineAdd(data) {
        return request('addLine', data)
    },
    // 修改表单
    lineUpdate(data) {
        return request('editLine', data)
    },
}
